import React from 'react';
import ReactDOM from 'react-dom/client';
import './index.css';
import App from './App';
// 引入 antd 文件样式
import 'antd/dist/antd.min.css';
// 引入路由历史模式 
import { BrowserRouter as Router } from 'react-router-dom'
// 
import { ConfigProvider } from 'antd'
import zhCN from 'antd/lib/locale/zh_CN';
const root = ReactDOM.createRoot(document.getElementById('root'));

root.render(
  // <React.StrictMode>
  <ConfigProvider locale={zhCN}>
    <Router>
      <App />
    </Router>
  </ConfigProvider>
  // </React.StrictMode>
);